<%@ page import="ingresso.Ingresso" %>



<div class="fieldcontain ${hasErrors(bean: ingressoInstance, field: 'data', 'error')} required">
	<label for="data">
		<g:message code="ingresso.data.label" default="Data" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="data" precision="day"  value="${ingressoInstance?.data}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: ingressoInstance, field: 'qtde', 'error')} required">
	<label for="qtde">
		<g:message code="ingresso.qtde.label" default="Qtde" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="qtde" value="${fieldValue(bean: ingressoInstance, field: 'qtde')}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: ingressoInstance, field: 'evento', 'error')} required">
	<label for="evento">
		<g:message code="ingresso.evento.label" default="Evento" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="evento" name="evento.id" from="${ingresso.Evento.list()}" noSelection="${['null':'Selecione um Evento...']}" optionKey="id" optionValue="nome" required="" value="${ingressoInstance?.evento?.id}" class="many-to-one"/>
</div>

